package com.lgh.hotel.vo;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.AuthorityUtils;

import java.util.List;

@Data
public class SysUserVo {

    private String name;
    private String roles;
    private List<String> routes;
//    List<GrantedAuthority> grantedAuthorities = AuthorityUtils.commaSeparatedStringToAuthorityList(sysUser.getRoles());
    private String avatar;

}
